﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SurvivalStrategy.Modules;

namespace SurvivalStrategy
{
    public class Request
    {
        private int senderID;
        private int revieverID;
        private int priority;
        private ActionModuleArgs args;
        private ActionTags tag;
        private int lifeSpan;

        public int SenderID
        {
            get { return senderID; }
        }
        public int RevieverID
        {
            get { return revieverID; }
        }
        public int Priority
        {
            get { return priority; } 
        }
        public ActionModuleArgs Args
        {
            get { return args; }
        }

        public ActionTags Tag
        {
            get { return tag; }
        }

        public int LifeSpan
        {
            get { return lifeSpan; }
        }

        public Request(int senderID, int recieverID, ActionTags tag, ActionModuleArgs args, int priority, int lifeSpan)
        {
            this.senderID = senderID;
            this.revieverID = recieverID;
            this.tag = tag;
            this.args = args;
            this.priority = priority;
            this.lifeSpan = lifeSpan;
        }

        public Request(int senderID, int recieverID, ActionTags tag, ActionModuleArgs args)
        {
            this.senderID = senderID;
            this.revieverID = recieverID;
            this.tag = tag;
            this.args = args;
            this.priority = 0;
            this.lifeSpan = 0;
        }
    }
}
